Daylight Savings

Table Name: GXT_DAYLIGHTSAVINGS_TBL

When using a time server, the time provided is always in UTC (Coordinated Universal Time) which has no time zone and is not subject to any daylight saving time rules. This means that you must correctly configure the time server, the time zone that the controller is operating in, and the daylight savings settings for NTP to work correctly. Failure to configure any of these will result in the time being inaccurate.

List

Request a list of daylight savings.

  • Request:

    Copy
    http://192.168.1.2/PRT_CTRL_DIN_ISAPI.dll?Request&Type=List&SubType=GXT_DAYLIGHTSAVINGS_TBL
  • Response:

    Copy
    1=Daylight Savings 1&2=Daylight Savings 2

Detail

Request the details of a specific daylight savings record.

  • Request:

    Copy
    http://192.168.1.2/PRT_CTRL_DIN_ISAPI.dll?Request&Type=Detail&SubType=GXT_DAYLIGHTSAVINGS_TBL&RecId=<RecId>
  • Response:

    Copy
    DaylightSavingId=1&Name=Daylight Savings 1&StartDay=0&StartMonth=0&EndDay=0&EndMonth=0

Update

Update a specific daylight savings record.

  • Request:

    Copy
    http://192.168.1.2/PRT_CTRL_DIN_ISAPI.dll?Command&Type=Submit&SubType=GXT_DAYLIGHTSAVINGS_TBL&DaylightSavingId=1&Name=Daylight Savings
  • Response:

    Copy
    OK

Create

Create a daylight savings record. To create a daylight savings record, use the same parameters as update but leave the DaylightSavingId empty.

  • Request:

    Copy
    http://192.168.1.2/PRT_CTRL_DIN_ISAPI.dll?Command&Type=Submit&SubType=GXT_DAYLIGHTSAVINGS_TBL&DaylightSavingId=&Name=Daylight Savings 1&StartDay=0&StartMonth=0&EndDay=0&EndMonth=0
  • Response:

    Copy
    OK

Delete

Delete a specific daylight savings record.

  • Request:

    Copy
    http://192.168.1.2/PRT_CTRL_DIN_ISAPI.dll?Command&Type=Delete&SubType=GXT_DAYLIGHTSAVINGS_TBL&RecId=<RecId>
  • Response:

    Copy
    OK

Parameters

Parameter

Display Value

Default Value

Notes

DaylightSavingId

Database ID

1

The Detail, Control and Delete APIs use this value as the RecId.

Name

Name

Daylight Savings 1

 

StartDay

Start Day

0

 

StartMonth

Start Month

0

 

EndDay

End Day

0

 

EndMonth

End Month

0